package com.chen.palmar.entity;

/**
 * Created by chen on 2018/1/14.
 */

public class GoodEntity {

    /**
     * resultCode : 1000
     * message : 点赞成功
     * error : null
     * data : {"id":17,"user_id":16,"article_id":57,"status":1,"create_at":"2018-01-05 16:11","update_at":"2018-01-05 16:11","nick_name":null,"avatar":null}
     * dataReserve1 : null
     * dataReserve2 : null
     * navigatePageNumbers : null
     */

    private int resultCode;
    private String message;
    private String error;
    private DataBean data;
    private String dataReserve1;
    private String dataReserve2;
    private String navigatePageNumbers;

    public int getResultCode() {
        return resultCode;
    }

    public void setResultCode(int resultCode) {
        this.resultCode = resultCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getDataReserve1() {
        return dataReserve1;
    }

    public void setDataReserve1(String dataReserve1) {
        this.dataReserve1 = dataReserve1;
    }

    public String getDataReserve2() {
        return dataReserve2;
    }

    public void setDataReserve2(String dataReserve2) {
        this.dataReserve2 = dataReserve2;
    }

    public String getNavigatePageNumbers() {
        return navigatePageNumbers;
    }

    public void setNavigatePageNumbers(String navigatePageNumbers) {
        this.navigatePageNumbers = navigatePageNumbers;
    }

    public static class DataBean {
        /**
         * id : 17
         * user_id : 16
         * article_id : 57
         * status : 1
         * create_at : 2018-01-05 16:11
         * update_at : 2018-01-05 16:11
         * nick_name : null
         * avatar : null
         */

        private int id;
        private int user_id;
        private int article_id;
        private int status;
        private String create_at;
        private String update_at;
        private String nick_name;
        private String avatar;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public int getArticle_id() {
            return article_id;
        }

        public void setArticle_id(int article_id) {
            this.article_id = article_id;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getCreate_at() {
            return create_at;
        }

        public void setCreate_at(String create_at) {
            this.create_at = create_at;
        }

        public String getUpdate_at() {
            return update_at;
        }

        public void setUpdate_at(String update_at) {
            this.update_at = update_at;
        }

        public String getNick_name() {
            return nick_name;
        }

        public void setNick_name(String nick_name) {
            this.nick_name = nick_name;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }
    }
}
